import router from "./router/router";
import type { NavigationGuardNext, RouteLocationNormalized } from "vue-router";
import useUserStore from "@/pinia/modules/userStore.ts";
import Nprogress from "nprogress";

router.beforeEach((to: RouteLocationNormalized, from: RouteLocationNormalized, next: NavigationGuardNext) => {
   next()
});

router.afterEach(() => {
    Nprogress.done();
});
